import {http} from "@/utils/http";

type Result = {
  timestamp: string;
  code: number;
  msg: string;
  success: boolean;
  data: Array<any>;
};

export const getAsyncRoutes = () => {
  return http.request<Result>("get", "/api/v1/route/user/route");
};
